package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 归还记录对象 rental_sys_return_records
 * 
 * @author Mag1c_-xyy
 * @date 2024-04-22
 */
public class RentalSysReturnRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 还车记录ID  */
    private Long returnId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 实际还车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际还车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualReturnTime;

    /** 车辆状况 */
    @Excel(name = "车辆状况")
    private String vehicleCondition;

    /** 损坏详情 */
    @Excel(name = "损坏详情")
    private String damageDetails;

    public void setReturnId(Long returnId) 
    {
        this.returnId = returnId;
    }

    public Long getReturnId() 
    {
        return returnId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setActualReturnTime(Date actualReturnTime) 
    {
        this.actualReturnTime = actualReturnTime;
    }

    public Date getActualReturnTime() 
    {
        return actualReturnTime;
    }
    public void setVehicleCondition(String vehicleCondition) 
    {
        this.vehicleCondition = vehicleCondition;
    }

    public String getVehicleCondition() 
    {
        return vehicleCondition;
    }
    public void setDamageDetails(String damageDetails) 
    {
        this.damageDetails = damageDetails;
    }

    public String getDamageDetails() 
    {
        return damageDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("returnId", getReturnId())
            .append("orderId", getOrderId())
            .append("actualReturnTime", getActualReturnTime())
            .append("vehicleCondition", getVehicleCondition())
            .append("damageDetails", getDamageDetails())
            .toString();
    }
}
